/*
 * Copyright 2009-2010 Belmont Software Services
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.belmont.backup.client;

import com.google.gwt.user.client.rpc.AsyncCallback;
import java.util.Vector;

public interface BackupAdminInterfaceAsync {
    public void getVersion(AsyncCallback callback);
    public void getBackupRoot(AsyncCallback callback);
    public void setBackupRoot(String root, AsyncCallback callback);
    public void isServiceEnabled(AsyncCallback callback);
    public void getServiceHost(AsyncCallback callback);
    public void getServiceIP(AsyncCallback callback);
    public void getServicePort(AsyncCallback callback);
    public void getStartedOn(AsyncCallback callback);
    public void getIncludeFilters(AsyncCallback callback);
    public void setIncludeFilters(String filters[], AsyncCallback callback);
    public void getExcludeFilters(AsyncCallback callback);
    public void setExcludeFilters(String filters[], AsyncCallback callback);
    public void getBackupDirectories(AsyncCallback callback);
    public void setBackupDirectories(String list[], AsyncCallback callback);
    public void getAllowBackupDirChange(AsyncCallback callback);
    public void setAllowBackupDirChange(boolean value, AsyncCallback callback);
    public void getRestoreDirectory(AsyncCallback callback);
    public void setRestoreDirectory(String dir, AsyncCallback callback);
    public void getClients(AsyncCallback callback);
    public void getSchedule(AsyncCallback callback);
    public void setSchedule(String schedule, AsyncCallback callback);
    public void getMaxVersions(AsyncCallback callback);
    public void setMaxVersions(int max, AsyncCallback callback);
    public void setPort(int port, AsyncCallback callback);
    public void restart(int seconds, AsyncCallback callback);
    public void getLogDirectory(AsyncCallback callback);
    public void getConfigSchedule(AsyncCallback callback);
    public void setConfigSchedule(String schedule, AsyncCallback callback);
    public void setEnableService(boolean value, AsyncCallback callback);
    public void getBackups(AsyncCallback callback);
    public void deleteBackups(Vector<String> backups, AsyncCallback callback);
    public void getBrandingStrings(AsyncCallback callback);
    public void setBrandingStrings(String s[], AsyncCallback callback);
    public void getAdminUser(AsyncCallback callback);
    public void setAdminUser(String userpass[], AsyncCallback callback);
}
